package com.xiang.springboot.demo.spi.service.impl;

import com.xiang.springboot.demo.spi.entity.Dog;
import com.xiang.springboot.demo.spi.service.IDog;
import org.springframework.stereotype.Service;

@Service
public class DogImpl implements IDog<Dog> {
    @Override
    public void sleep() {
        System.out.println(" dog sleep ....");
    }

    @Override
    public Class<Dog> businessFor() {
        return Dog.class;
    }
}
